package com.weixing.mall.provider.api.fallback;

import com.weixing.mall.base.wrapper.Result;
import com.weixing.mall.base.wrapper.ResultUtil;
import com.weixing.mall.provider.api.model.dto.MemberMessageDto;
import com.weixing.mall.provider.api.service.LeaveMessageServiceRpc;
import org.springframework.stereotype.Component;

import java.util.Map;


@Component
public class LeaveMessageServiceFallback implements LeaveMessageServiceRpc {

    @Override
    public Map<String, Integer> noReplyList(Long uid) {
        return null;
    }

    @Override
    public Result createMsg(MemberMessageDto memberMessage) {
        return ResultUtil.error();
    }
}
